<?php

namespace App\Http\Controllers\Admin;

use App\Exceptions\AppException;
use App\Models\City;
use App\Models\Data;
use App\Models\Member;
use App\Models\Question;
use App\Services\ExcelExportService;
use Illuminate\Http\Request;

class CityController extends BaseController
{
    public function index()
    {
        $build = City::query();

        $data = $build->where('pid', 0);

        return $this->success($data);

    }

}